package zhu.yu.OOP_abstract_class.多态;

public class Zi extends Fu {

    int num = 20;
    int number = 11;

    @Override
    public void method() {
        System.out.println("子类方法");
    }

    @Override
    public void getNum() {
        System.out.println(number);
    }

    // 子类独有方法
    public void methodZi() {
        System.out.println("子类1独有方法");
    }
}
